﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.Windows.Data;

namespace RingSong
{
    public class MyPage : PhoneApplicationPage
    {
        public static ProgressIndicator _progress =
            new ProgressIndicator() { IsVisible = false, IsIndeterminate = true };
        public MyPage()
        {
            this.SetValue(SystemTray.OpacityProperty, 0.00001);
            this.Style = (Style)App.Current.Resources["TransitionPageStyle"];
            //this.SetValue(TiltEffect.IsTiltEnabledProperty, true);
            Loaded += (_, __) =>
            {
                SystemTray.ProgressIndicator = _progress;
            };
        }

        
    }
}
